import React, { Component } from 'react'
import MyHeader from "../../../common/my-header/myheader"
import styles from "./Set.module.scss"
export default class Set extends Component {
    handleReturn=(params)=>{
        this.props.history.push("/my");
    }
    backPerson=()=>{
        this.props.history.push("/personal");
    }
    render() {
        return (
            <div className={styles.mySet}>
                <div onClick={this.handleReturn}>
                    <MyHeader title="设置"></MyHeader>
                </div>
                <div className={styles.myMaterial} onClick={this.backPerson}>
                    <div className={styles.left} >个人资料</div>
                    <div className={styles.right}>
                        <i className="iconfont icon-youjiantou"></i>
                    </div>
                </div>
                <div className={styles.LoginOut}>
                    退出登录
                </div>
            </div>
        )
    }
}
